html,
body {
    max-height: none;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.landing-page {
    --landing-ink: #181818;
    --landing-muted: #626262;
    --landing-soft: #f0ece7;
    --landing-card: rgba(255, 255, 255, 0.78);
    --landing-line: rgba(24, 24, 24, 0.1);
    --landing-accent: #f1a909;
    --landing-accent-soft: #fff4d8;
    position: relative;
    min-height: 100vh;
    color: var(--landing-ink);
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at 7% 14%, rgba(241, 169, 9, 0.15), transparent 28%),
        radial-gradient(circle at 92% 42%, rgba(241, 169, 9, 0.11), transparent 24%),
        #f6f4f5;
}

.landing-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.landing-header {
    position: relative;
    z-index: 20;
    width: min(1180px, calc(100% - 48px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-header div {
    position: static;
}

.landing-logo img {
    display: block;
    width: 153px;
    height: auto;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.landing-nav a {
    color: #55514e;
    font-size: 14px;
    font-weight: 600;
    transition: color 180ms ease;
}

.landing-nav a:hover,
.landing-nav a:focus-visible {
    color: var(--landing-ink);
}

.landing-nav .landing-support {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border: 1px solid var(--landing-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
}

.landing-support img {
    width: 20px;
    height: 20px;
}

.landing-hero {
    position: relative;
    min-height: 560px;
    padding: 92px 0 110px;
    box-sizing: border-box;
    overflow: hidden;
}

.landing-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 790px;
    margin: 0 auto;
    text-align: center;
}

.landing-eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #80601a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.landing-eyebrow i,
.section-eyebrow i {
    font-size: 13px;
}

.landing-hero h1 {
    max-width: 920px;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    font-size: clamp(54px, 6vw, 82px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.landing-hero h1 span {
    color: var(--landing-accent);
}

.landing-hero-copy > p {
    max-width: 650px;
    margin: 28px auto 0;
    color: var(--landing-muted);
    font-size: 19px;
    line-height: 1.65;
}

.landing-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.landing-actions button {
    min-width: 185px;
    min-height: 65px;
    padding: 0 24px;
    border: 1px solid var(--landing-ink);
    border-radius: 10px;
    font: 700 15px/1 "Inter", sans-serif;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.landing-actions button:hover {
    transform: translateY(-2px);
}

.landing-primary {
    color: white;
    background: var(--landing-ink);
    box-shadow: 0 14px 34px rgba(24, 24, 24, 0.16);
}

.landing-secondary {
    color: var(--landing-ink);
    background: rgba(255, 255, 255, 0.68);
}

/* Keep the existing authentication forms functional without the legacy
   absolute-positioned buttons overlapping each other. */
.register .buttons {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    height: 60px;
    margin-top: 20px;
}

.register .buttons > a {
    display: block;
    width: 100%;
    height: 60px;
}

.register .buttons button {
    position: static;
    width: 100%;
    min-width: 0;
    height: 60px;
    margin: 0;
}

.register .forgot-password {
    margin-top: 14px;
}

.landing-preview {
    position: relative;
    z-index: 2;
    width: min(1080px, 94vw);
    margin: 72px auto 0;
}

.landing-preview img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 34px 50px rgba(45, 38, 28, 0.18));
}

.landing-coin {
    position: absolute;
    z-index: 1;
    width: 190px;
    left: 5%;
    top: 290px;
    opacity: 0.9;
    animation: landing-float 6s ease-in-out infinite;
}

.landing-glow {
    position: absolute;
    z-index: 0;
    width: 460px;
    right: -140px;
    top: 160px;
    opacity: 0.55;
}

@keyframes landing-float {
    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-14px) rotate(2deg);
    }
}

.trust-strip {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -22px;
    border: 1px solid var(--landing-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 60px rgba(45, 38, 28, 0.08);
    backdrop-filter: blur(14px);
}

.trust-item {
    display: flex;
    gap: 14px;
    align-items: center;
    min-height: 104px;
    padding: 20px 26px;
    box-sizing: border-box;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--landing-line);
}

.trust-item i {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #8c6612;
    background: var(--landing-accent-soft);
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    margin-bottom: 5px;
    font-size: 14px;
}

.trust-item span {
    color: var(--landing-muted);
    font-size: 12px;
    line-height: 1.5;
}

.landing-section {
    padding: 118px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2 {
    font-family: "Roboto", sans-serif;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.section-heading p {
    margin-top: 18px;
    color: var(--landing-muted);
    font-size: 17px;
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 245px;
    padding: 30px;
    border: 1px solid var(--landing-line);
    border-radius: 22px;
    box-sizing: border-box;
    background: var(--landing-card);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(241, 169, 9, 0.4);
    box-shadow: 0 22px 44px rgba(45, 38, 28, 0.08);
}

.feature-icon,
.exchange-icon,
.compliance-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    color: #8c6612;
    background: var(--landing-accent-soft);
}

.feature-card h3 {
    margin-top: 28px;
    font-size: 19px;
    line-height: 1.35;
}

.feature-card p {
    margin-top: 12px;
    color: var(--landing-muted);
    font-size: 14px;
    line-height: 1.7;
}

.exchange-panel {
    padding: 54px;
    border: 1px solid var(--landing-line);
    border-radius: 30px;
    background: #1b1b1b;
    color: white;
    box-shadow: 0 32px 70px rgba(24, 24, 24, 0.15);
}

.exchange-panel .section-eyebrow {
    color: #f5c45b;
}

.exchange-panel .section-heading {
    max-width: 780px;
    margin-bottom: 38px;
}

.exchange-panel .section-heading p {
    color: #b6b2ad;
}

.exchange-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.exchange-card {
    min-height: 220px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
}

.exchange-card .exchange-icon {
    color: #f4bc43;
    background: rgba(241, 169, 9, 0.14);
}

.exchange-card small {
    display: block;
    margin-top: 28px;
    color: #f4bc43;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.exchange-card h3 {
    margin-top: 8px;
    font-size: 19px;
}

.exchange-card p {
    margin-top: 12px;
    color: #b6b2ad;
    font-size: 14px;
    line-height: 1.65;
}

.compliance-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.compliance-copy .section-heading {
    margin-bottom: 0;
}

.compliance-note {
    margin-top: 28px;
    padding: 18px 20px;
    border-left: 3px solid var(--landing-accent);
    color: var(--landing-muted);
    font-size: 12px;
    line-height: 1.65;
    background: rgba(255, 255, 255, 0.52);
}

.compliance-cards {
    display: grid;
    gap: 16px;
}

.compliance-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 28px;
    border: 1px solid var(--landing-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
}

.compliance-card h3 {
    font-size: 18px;
}

.compliance-card p {
    margin-top: 9px;
    color: var(--landing-muted);
    font-size: 14px;
    line-height: 1.65;
}

.faq-panel {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 28px;
    padding: 42px;
    border: 1px solid var(--landing-line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
}

.faq-intro {
    padding: 8px 16px 8px 4px;
}

.faq-intro h2 {
    font-family: "Roboto", sans-serif;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.faq-intro p {
    margin-top: 18px;
    color: var(--landing-muted);
    font-size: 15px;
    line-height: 1.7;
}

.faq-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.faq-meta div {
    padding: 17px;
    border-radius: 16px;
    background: var(--landing-soft);
}

.faq-meta strong,
.faq-meta span {
    display: block;
}

.faq-meta strong {
    font-size: 20px;
}

.faq-meta span {
    margin-top: 5px;
    color: var(--landing-muted);
    font-size: 11px;
    line-height: 1.4;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--landing-line);
    border-radius: 16px;
    background: #f8f6f4;
    transition: border-color 180ms ease, background 180ms ease;
}

.faq-list details[open] {
    border-color: rgba(241, 169, 9, 0.45);
    background: white;
}

.faq-list summary {
    position: relative;
    padding: 22px 54px 22px 22px;
    list-style: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    color: #86661f;
    font-size: 22px;
    font-weight: 400;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "–";
}

.faq-answer {
    padding: 0 54px 22px 22px;
    color: var(--landing-muted);
    font-size: 13px;
    line-height: 1.7;
}

.landing-footer {
    position: relative;
    bottom: auto;
    width: 100%;
    padding: 34px 0 42px;
    border-top: 1px solid var(--landing-line);
}

.landing-footer-inner {
    position: static;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.landing-footer .text {
    position: static;
    color: #807b76;
    font-size: 12px;
}

.landing-footer-links {
    position: static;
    display: flex;
    gap: 22px;
}

.landing-footer-links a {
    color: #6d6863;
    font-size: 12px;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    html,
    body {
        scroll-behavior: auto;
    }

    .landing-coin {
        animation: none;
    }

    .feature-card,
    .landing-actions button {
        transition: none;
    }
}

@media (max-width: 920px) {
    .landing-nav > a:not(.landing-support) {
        display: none;
    }

    .landing-hero {
        min-height: 540px;
        padding-top: 64px;
    }

    .landing-coin {
        width: 140px;
        left: -25px;
    }

    .trust-strip,
    .feature-grid,
    .exchange-grid {
        grid-template-columns: 1fr;
    }

    .trust-item + .trust-item {
        border-top: 1px solid var(--landing-line);
        border-left: 0;
    }

    .feature-card {
        min-height: 0;
    }

    .compliance-layout,
    .faq-panel {
        grid-template-columns: 1fr;
    }

    .faq-panel {
        padding: 30px;
    }
}

@media (max-height: 700px) {
    .register .register-form {
        top: 72px;
        transform: none;
        padding-bottom: 86px;
    }
}

@media (max-width: 620px) {
    .landing-shell,
    .landing-header {
        width: min(100% - 28px, 1180px);
    }

    .landing-header {
        min-height: 72px;
    }

    .landing-nav .landing-support span {
        display: none;
    }

    .landing-nav .landing-support {
        padding: 10px;
    }

    .landing-hero {
        min-height: 590px;
        padding-top: 48px;
    }

    .landing-hero h1 {
        font-size: clamp(44px, 13vw, 62px);
    }

    .landing-hero-copy > p {
        font-size: 16px;
        line-height: 1.55;
    }

    .landing-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-actions button {
        width: 100%;
    }

    .register .buttons {
        grid-template-columns: 1fr;
        min-height: 118px;
        height: 118px;
    }

    .register .buttons > a,
    .register .buttons button {
        min-height: 54px;
        height: 54px;
    }

    .register .forgot-password {
        margin-top: 14px;
    }

    .landing-preview {
        width: 760px;
        margin-top: 56px;
        left: 50%;
        transform: translateX(-50%);
    }

    .landing-coin {
        top: 330px;
        opacity: 0.55;
    }

    .landing-glow {
        width: 330px;
        right: -160px;
    }

    .trust-strip {
        margin-top: 0;
    }

    .trust-item {
        min-height: 92px;
        padding: 18px;
    }

    .landing-section {
        padding: 86px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .feature-card {
        padding: 24px;
    }

    .exchange-panel {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .exchange-card {
        min-height: 0;
    }

    .compliance-layout {
        gap: 30px;
    }

    .compliance-card {
        grid-template-columns: 1fr;
    }

    .faq-panel {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .faq-meta {
        grid-template-columns: 1fr;
    }

    .faq-list summary {
        padding: 19px 48px 19px 18px;
    }

    .faq-answer {
        padding: 0 44px 19px 18px;
    }

    .landing-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
